package apiUDP;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import Client.InterfaceClientSocket;
import Factory.SocketFactory;
import java.io.*;
import java.net.*;
import java.net.UnknownHostException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 * 
 * @author manelv8
 */
public class ClientUDPAPI {
	public static void main(String[] args) {
		InterfaceClientSocket clienteUDP = SocketFactory.getClient(SocketFactory.UDP, 8080,"localhost");
                System.out.println(clienteUDP.conectar());
               clienteUDP.fechar();
                
	}
}
